<?php use_helper('Markdown') ?>
<div id="article">
  <h2><?php echo $article_article->gettitle() ?></h2>
  <p>by: <?php echo $article_article->getarticle_author_id() ?> on <?php echo $article_article->getactivated_at() ?> category: <?php echo $article_article->getarticle_category_id() ?></p>
   
  <div id="article-body">
    <?php echo markdown($article_article->getbody(ESC_RAW)) ?>
  </div>  
  <div id="article-references"> 
    <?php echo $article_article->getreference() ?>
  </div>    
  <div id="views"><?php echo $article_article->getview() ?></div>
</div>  

<a href="<?php echo url_for('article/edit?id='.$article_article->getId()) ?>">Edit</a>
&nbsp;
<a href="<?php echo url_for('article/index') ?>">List</a>
